﻿using SqlSugar;

namespace Shop.Model.Entity.Hea;

/// <summary>
/// 健康自检试题
/// </summary>
[SugarTable("use_hea_exam")]
public class HealthExam:BaseEntity
{
    /// <summary>
    /// 分类
    /// 1：入门级问答
    /// 2：专业问答
    /// </summary>
    public int Classify { get; set; }

    /// <summary>
    /// 题目
    /// </summary>
    public string Title { get; set; }

    /// <summary>
    /// 图标
    /// </summary>
    public string? Ico { get; set; }

    /// <summary>
    /// 文本说明
    /// </summary>
    public string? TextExplain { get; set; }

    /// <summary>
    /// 图片说明
    /// </summary>
    public string? ImgExplain { get; set; }

    /// <summary>
    /// 类型
    /// 1：填空题
    /// 2：单选题
    /// 3：多选题
    /// 4：决策题
    /// </summary>
    public int Type { get; set; }

    /// <summary>
    /// 基础类型
    /// 1：年龄
    /// 2：性别
    /// 3：体重
    /// 4：身高
    /// </summary>
    public int? BaseType { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public int? Sort { get; set; }

    /// <summary>
    /// 多选时最高扣分指标
    /// </summary>
    public int? TallestDeduct { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreationTime { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? EditTime { get; set; }

    /// <summary>
    /// 是否删除
    /// </summary>
    public bool IsDelete { get; set; } = false;
}